<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j"
	  xmlns:rich="http://richfaces.org/rich" lang="#{localeBean.language}">

<f:loadBundle basename="messages" var="bundle"/>

<h:head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8"/>
<title>
	<ui:insert name="title">#{bundle['generic.application.title']}</ui:insert>
</title>
<link rel="STYLESHEET" type="text/css" href="${facesContext.externalContext.requestContextPath}/css/common.css"/>

<ui:include src="/templates/include/dynamic-css.xhtml" />
<!-- Override background picture -->
<style type="text/css">
body{
	background-image : url(${facesContext.externalContext.requestContextPath}/images/page_bg_noMenu.gif);
}
</style>
<script>
A4J.AJAX.onExpired = function(loc, expiredMsg){
    if(window.confirm(expiredMsg)){
      return loc;
    } else {
     return false;
    }
}
</script>
</h:head>

<h:body>

<f:view locale="#{localeBean.locale}">

<rich:panel id="entireScreen" style="border:0px;">
<ui:include src="/templates/include/header.xhtml" />

<table cellpadding="0" cellspacing="0" border="0" class="content_container" width="100%">
<tbody>
	<tr>
		<td>
			<div class="content_container_left_brick"></div>
		</td>
		<td width="100%" class="content_container_pdddings">
<!-- tabpanel begin -->
		<ui:insert name="body">Body</ui:insert>
<!-- tabpanel end -->	
			<div style="height:10px;" />
			<div style="height:1px; border-bottom: 1px solid #000000;" />
		</td>
	</tr>
</tbody>
</table>

<ui:include src="/templates/include/footer.xhtml" />

</rich:panel>
</f:view>

</h:body>
</html>
